package com.xiao.springcloud.dao;

import com.xiao.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author xiaoxiaoping
 * @Date 2020/6/6 22:40
 * @Version 1.0
 */
@Mapper
public interface PaymentDao {
	int create(Payment payment);
	
	Payment getPaymentById(@Param("id") Long id);
}
